package com.graduation.community_manager.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("查询水电费 Request VO")
@Data
public class PageCmEleWaterVO {


    @ApiModelProperty(value = "页码")
    private Integer current;

    @ApiModelProperty(value = "数量")
    private Integer size;

    @ApiModelProperty(value = "用户id")
    private Long useId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "缴费类型(0电费 1水费)")
    private Integer type;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
